/* Startup Template For USART RX */ // Sample Interrupt Handler void interrupt() { // USART Receive Interrupt if (PIR1.RCIF == 1) { - Place Your Code Here - rxChar = RCREG; // reading clears the flag } } // Sample Main Setup void main() { // Set Interrupt Enable bits PIE1.RCIE = 1; // bit 5 USART Receive Interrupt Enable //Set global Interrupt Enable bits INTCON.GIE = 1; // global interrupt enable INTCON.PEIE = 1; // Peripheral Interrupt Enable bit...1 = Enables all unmasked peripheral interrupts while(1) // endless loop { - Place Your Code Here - } }